package ru.spb.osll.myfit.server.chart;

import java.io.IOException;

/**
 * User: Artem Bukhonov
 * Email: nerzhulart@gmail.com
 * Date: 10.11.11
 * Time: 16:56
 */
public interface ChartRenderer {
  /*
  Renders chart using specified ChartRenderData and returns image byte array in png format
   */
  byte[] render(ChartRenderData data) throws IOException;
}
